<template>
  <div class=''>
    <div class="top">
      <div class="top-list" v-for="item in navlist" :key="item.id">
        {{ item.name }}
      </div>
    </div>
    
    <articesClass></articesClass>
  </div>
</template>

<script lang='ts'>
import { defineComponent, reactive, ref } from 'vue'
import articesClass from '../../components/index-classify/index.vue'

export default defineComponent({
  name: '',
  components: {
    articesClass
  },
  setup () {
    const navlist = reactive([
      {
        id: 0,
        name: '全部'
      }
    ])


    return {
      navlist
    }
  }
})
</script>

<style lang='scss' scoped>
.top{
  width: 800px;
  height: 50px;
  display: flex;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid rgb(240, 240, 240);
}
.top-list{
  padding: 15px;
  border-bottom: 1px solid skyblue;
}

</style>
